Programming Android by Zigurd Mednieks & Laird Dornin & G. Blake Meike & Masumi Nakamura
Author:Zigurd Mednieks & Laird Dornin & G. Blake Meike & Masumi Nakamura
Language: eng
Format: mobi, epub
Tags: COMPUTERS / Programming Languages / General
Publisher: O'Reilly Media
Published: 2011-07-14T16:00:00+00:00
Cursor
A container for the results of a database query that supports an MVC-style observation system. Cursors are similar to JDBC result sets and are the return value of a database query in Android. A cursor can represent many objects without requiring an instance for each one. With a cursor, you can move to the start of query results and access each row one at a time as needed. To access cursor data, you call methods named as Cursor.getAs*(int columnNumber) (e.g., getAsString). The values the cursor will return depend on the current cursor index, which you can increment by calling Cursor.moveToNext, or decrement by calling Cursor.moveToPrevious, as needed. You can think of the current index of the cursor as a pointer to a result object.
Cursors are at the heart of the basis for Android MVC, which we will cover in detail in Chapter 12.
Download
Programming Android by Zigurd Mednieks & Laird Dornin & G. Blake Meike & Masumi Nakamura.epub
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Android | E-Readers |
Handheld & Mobile Devices | iPad |
iPhone | Programming & App Development |
Tablets |
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6266)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5996)
Kotlin in Action by Dmitry Jemerov(4676)
React Native - Building Mobile Apps with JavaScript by Novick Vladimir(2351)
Learning Angular - Second Edition by Christoffer Noring(2179)
Pride and Prejudice by Jane Austen(2113)
Mobile Forensics Cookbook by Igor Mikhaylov(1822)
Computers For Seniors For Dummies by Nancy C. Muir(1783)
Bulletproof Android: Practical Advice for Building Secure Apps (Developer's Library) by Godfrey Nolan(1678)
Building Android UIs with Custom Views by Raimon Ràfols Montané(1629)
Android Development with Kotlin by Marcin Moskala & Igor Wojda(1627)
Building Progressive Web Apps: Bringing the Power of Native to the Browser by Ater Tal(1542)
1936941139 (N) by Bob Rosenthal(1511)
Android App Development by Franceschi Hervé J.;(1510)
Ember.js in Action by Joachim Haagen Skeie(1482)
Hands-On Internet of Things with MQTT by Tim Pulver(1456)
Hands-On Design Patterns with React Native by Mateusz Grzesiukiewicz(1444)
Practical Industrial Internet of Things Security by Sravani Bhattacharjee(1325)
Voice User Interface Projects by Henry Lee(1278)